/*
 * @LastEditTime: 2023-09-11 17:08:43
 * @FilePath: \bdcar-net\src\api\comlbs\equipmentManagement.js
 */
import request from '@/utils/request'

// 查询设备管理列表
export function listEquipmentManagement(query) {
  return request({
    url: '/comlbs/equipmentManagement/list',
    method: 'get',
    params: query
  })
}

// 查询设备管理详细
export function getEquipmentManagement(id) {
  return request({
    url: '/comlbs/equipmentManagement/' + id,
    method: 'get'
  })
}

// 新增设备管理
export function addEquipmentManagement(data) {
  return request({
    url: '/comlbs/equipmentManagement',
    method: 'post',
    data: data
  })
}

// 修改设备管理
export function updateEquipmentManagement(data) {
  return request({
    url: '/comlbs/equipmentManagement',
    method: 'put',
    data: data
  })
}

// 删除设备管理
export function delEquipmentManagement(id) {
  return request({
    url: '/comlbs/equipmentManagement/' + id,
    method: 'delete'
  })
}
